package cn.wolfcode.luowowo.search.service.repository;

import cn.wolfcode.luowowo.search.domain.HotelTemplate;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HotelTemplateEsRepository extends ElasticsearchRepository<HotelTemplate,Long>{
    List<HotelTemplate> findByDestName(String destName);
}
